package com.infosys.newSimpleInvertedIndex.dto;

import com.infosys.newSimpleInvertedIndex.entities.Relative;

public class RelativeDTOO {
    private String id;
    // private String employee_id;
    private String name;
    private String jobTitle;
    private String politicalTitle;
    private String type;

    public RelativeDTOO() {
    }

    public RelativeDTOO(Relative relative){
        this.id = relative.getId();
        this.name = relative.getName();
        this.jobTitle = relative.getJobTitle();
        this.politicalTitle = relative.getPoliticalTitle();
        this.type = relative.getType();
    }

    public RelativeDTOO(String id, String name, String jobTitle, String politicalTitle, String type) {
        this.id = id;
        // this.employee_id = employeeId;
        this.name = name;
        this.jobTitle = jobTitle;
        this.politicalTitle = politicalTitle;
        this.type = type;
    }

    public String getId() {return id;}
    public void setId(String id) {this.id = id;}

    public String getName() {return name;}
    public void setName(String name) {this.name = name;}

    public String getJobTitle() {return jobTitle;}
    public void setJobTitle(String jobTitle) {this.jobTitle = jobTitle;}

    public String getPoliticalTitle() {return politicalTitle;}
    public void setPoliticalTitle(String politicalTitle) {this.politicalTitle = politicalTitle;}

    public String getType() {return type;}
    public void setType(String type) {this.type = type;}

    public String toString(){
        return "RelativeDTOO{" +
                "id='" + this.id + '\'' +
                ", name='" + this.name + '\'' +
                ", jobTitle='" + this.jobTitle + '\'' +
                ", politicalTitle='" + this.politicalTitle + '\'' +
                ", type='" + this.type + '\'' +
                '}';
    }
}